﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Grow.EventBus.Cap.PublisherDomainEvents
{
    public interface IPublisherDomainEventService
    {
        Task<bool> LockPublisherEventAsync(Guid Id, CancellationToken cancellationToken);

        Task UpdatePublisherEventAsync(Guid Id, PublisherDomainEventStatus publisherDomainEventStatus, CancellationToken cancellationToken);
    }
}
